package org.jeecg.modules.wlhy.hyplatform.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_platform_bank
 * @Author: jeecg-boot
 * @Date:   2022-12-21
 * @Version: V1.0
 */
@Data
@TableName("hy_platform_bank")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_platform_bank对象", description="hy_platform_bank")
public class HyPlatformBank implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**开户行账户*/
	@Excel(name = "开户行账户", width = 15)
    @ApiModelProperty(value = "开户行账户")
    private String bankName;
	/**开户行类型*/
    @Excel(name = "银行名称", width = 15, dictTable = "hy_bank", dicText = "bank_name", dicCode = "bank_type")
    @Dict(dictTable = "hy_bank", dicText = "bank_name", dicCode = "bank_type")
    @ApiModelProperty(value = "开户行类型")
    private String bankType;
	/**开户行账号*/
	@Excel(name = "开户行账号", width = 15)
    @ApiModelProperty(value = "开户行账号")
    private String bankNum;
	/**开户手机号*/
	@Excel(name = "开户手机号", width = 15)
    @ApiModelProperty(value = "开户手机号")
    private String bankPhone;
	/**是否启动(1表示是 0表示否)*/
	@Excel(name = "是否启动(1表示是 0表示否)", width = 15)
    @ApiModelProperty(value = "是否启动(1表示是 0表示否)")
    private String izUsed;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

//    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
//    private String delFlag;
	/**身份证ID*/
	@Excel(name = "身份证ID", width = 15)
    @ApiModelProperty(value = "身份证ID")
    private String idcard;
	/**银行卡正面照片*/
	@Excel(name = "银行卡正面照片", width = 15)
    @ApiModelProperty(value = "银行卡正面照片")
    private String bankImgFront;
}
